package design.strategy;

public class FlagZombie extends Zombie{

    public FlagZombie(){
        super(new StepByStepMove(),new BitAttack());
    }
    public FlagZombie(Moveable moveable,Attackable attackable){
        super(moveable,attackable);
    }
    @Override
    public void display() {
        System.out.println("我是僵尸骑手");
    }

    @Override
    void move() {
        moveable.move();
    }

    @Override
    void attck() {
        attackable.attack();
    }
}
